package com.ruoyi.datamanagement.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.datamanagement.domain.SysSearchTree;

/**
 * 查询树Mapper接口
 *
 * @author anan
 * @date 2021-03-31
 */
public interface SysSearchTreeMapper extends BaseMapper<SysSearchTree>
{
    /**
     * 查询查询树
     *
     * @param searchTreeId 查询树ID
     * @return 查询树
     */
    public SysSearchTree selectSysSearchTreeById(Long searchTreeId);

    /**
     * 查询查询树列表
     *
     * @param sysSearchTree 查询树
     * @return 查询树集合
     */
    public List<SysSearchTree> selectSysSearchTreeList(SysSearchTree sysSearchTree);

    /**
     * 新增查询树
     *
     * @param sysSearchTree 查询树
     * @return 结果
     */
    public int insertSysSearchTree(SysSearchTree sysSearchTree);

    /**
     * 修改查询树
     *
     * @param sysSearchTree 查询树
     * @return 结果
     */
    public int updateSysSearchTree(SysSearchTree sysSearchTree);

    /**
     * 删除查询树
     *
     * @param searchTreeId 查询树ID
     * @return 结果
     */
    public int deleteSysSearchTreeById(Long searchTreeId);

    /**
     * 批量删除查询树
     *
     * @param searchTreeIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysSearchTreeByIds(Long[] searchTreeIds);
}
